Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RabbitMQ cluster and running nodes count and running node status #3703

Merged
merged 4 commits into from
Jan 26, 2018

Conversation

askainet
Copy link
Contributor

@askainet askainet commented Jan 19, 2018

  • Add running field to the rabbitmq_node measurement directly mapped to the running flag from the output of /api/nodes
  • Add clustering_listeners to the rabbitmq_overview measurement as the total count of listeners of protocol clustering from the output of /api/overview
  • Add amqp_listeners to the rabbitmq_overview measurement as the total count of listeners of protocol amqp from the output of /api/overview

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@askainet
Copy link
Contributor Author

Partially covers #3252 to add a rabbitmq_node_up metric

@@ -61,6 +61,8 @@ For additional details reference the [RabbitMQ Management HTTP Stats](https://cd
- messages_ready (int, messages)
- messages_unacked (int, messages)
- queues (int, queues)
- cluster_nodes (int, member nodes)
- running_nodes (int, nodes up)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the other metrics are noun_adjective, these new ones are adjective_noun

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, then I propose

cluster_nodes => nodes_member
running_nodes => nodes_running

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about clustering_listeners and amqp_listeners?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be 100% accurate. Agreed, let the user decide the practical meaning of those metrics then.

@danielnelson danielnelson added this to the 1.6.0 milestone Jan 19, 2018
@danielnelson danielnelson added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Jan 19, 2018
@danielnelson danielnelson merged commit 48092ed into influxdata:master Jan 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants